package com.example.demo.modules.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhengyingya
 * @since 2023-05-06
 */
@Getter
@Setter
@TableName("device_prop_history_log")
public class DevicePropHistoryLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 设备名称
     */
    @TableField("device_name")
    private String deviceName;

    /**
     * 当前温度
     */
    @TableField("current_temperature")
    private Float currentTemperature;

    /**
     * 当前湿度
     */
    @TableField("current_humidity")
    private Float currentHumidity;

    /**
     * 记录时间
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;


}
